Skip to content

docs(cli): clarify dev env-file propagation - #4473

Closed
RealBhupesh wants to merge 1 commit into
triggerdotdev:mainfrom
RealBhupesh:codex/trigger-4425-env-file-docs
Closed

docs(cli): clarify dev env-file propagation#4473
RealBhupesh wants to merge 1 commit into
triggerdotdev:mainfrom
RealBhupesh:codex/trigger-4425-env-file-docs

Conversation

@RealBhupesh

Copy link
Copy Markdown

Summary

  • Clarify the shared --env-file documentation for local task processes.
  • Update trigger dev --help to describe the same behavior.
  • Add the required trigger.dev patch changeset.

Root cause

The implementation already passes local dev --env-file values into task processes, but the docs and CLI help incorrectly said they only affected the CLI process.

Validation

  • Formatting and lint checks passed.
  • Full CLI package build is currently blocked by pre-existing missing generated workspace dependencies and baseline TypeScript errors in this checkout.

Please keep this PR in draft until vouching and CI review are complete.

fixes #4425

@changeset-bot

changeset-bot Bot commented Aug 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0cbf447

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 27 packages
Name Type
trigger.dev Patch
@internal/dashboard-agent Patch
@trigger.dev/build Patch
@trigger.dev/core Patch
@trigger.dev/python Patch
@trigger.dev/react-hooks Patch
@trigger.dev/redis-worker Patch
@trigger.dev/rsc Patch
@trigger.dev/schema-to-json Patch
@trigger.dev/sdk Patch
@trigger.dev/database Patch
@trigger.dev/otlp-importer Patch
@trigger.dev/rbac Patch
@trigger.dev/sso Patch
@internal/cache Patch
@internal/clickhouse Patch
@internal/llm-model-catalog Patch
@internal/metrics-pipeline Patch
@internal/redis Patch
@internal/replication Patch
@internal/run-engine Patch
@internal/run-store Patch
@internal/schedule-engine Patch
@internal/testcontainers Patch
@internal/tracing Patch
@internal/tsql Patch
@internal/sdk-compat-tests Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Hi @RealBhupesh, thanks for your interest in contributing!

This project requires that pull request authors are vouched, and you are not in the list of vouched users.

This PR will be closed automatically. See https://github.com/triggerdotdev/trigger.dev/blob/main/CONTRIBUTING.md for more details.

@github-actions github-actions Bot closed this Aug 2, 2026
@coderabbitai

coderabbitai Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5ad9aa96-afef-4ad5-b5d0-897de5193b83

📥 Commits

Reviewing files that changed from the base of the PR and between 14824b0 and 0cbf447.

📒 Files selected for processing (3)
  • .changeset/clarify-dev-env-file.md
  • docs/snippets/cli-options-env-file.mdx
  • packages/cli-v3/src/commands/dev.ts

Walkthrough

Updated the dev --env-file CLI help and documentation to state that environment variables are available to local task processes. Added a patch changeset for trigger.dev that records this clarification.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: dev --env-file help/docs say it does not reach tasks, but it does

1 participant